<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="Sofabulous.css" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Create New Job</title>
</head>
<body>
	<div id = "welcome">
		Go Go Gadget Business!
	</div>
	
	<div id = "nav">
	<ul>
		<li><a href="StartPage.jsp">Home</a></li>
		<li><a href="BusinessList.jsp">Businesses</a></li>
		<li><span>Your Business</span></li>
		<li><a href="mySubscriptions.jsp">Subscribers</a></li>
	</ul>
	</div>
	
	<div id = "main">
		<div id = "subnav">
		<ul>
			<li><a href="Business.jsp">Your Info</a></li>
			<li><a href="ClientList.jsp">Clients</a></li>
			<li><a href="EmployeeList.jsp">Employees</a></li>
			<li><a href="TimeSheetList.jsp">Time Sheets</a></li>
			<li><span>Jobs</span></li>
			<li><a href="PendingBlogs.jsp">Reviews</a></li>
			<li><a href="Finance.jsp">Finance</a></li>
			<li><a href="EmailPage.jsp">Email</a></li>
			<li><a href="GoogleMapsPage.jsp">GoogleMaps</a></li>
			<li><a href="PayrollPage.jsp">PayRoll</a></li>
			<li><a href="RemoveBusiness.jsp">Delete Account</a></li>
			<li><a href="/GoGoGadget/LoginServlet">logout</a></li>
		</ul>
		</div>
	</div>	
	<div id=subsubnav>
		<ul>
			<li><a href="JobList.jsp">Job List</a>&#8594;</li>
			<li><span>Create Job</span></li>
		</ul>
	</div>
	<div id = "talk">

	
		<form action="/GoGoGadget/AddJobServlet" method="get">
			Client ID:				<input type="text" name="clientid" /><br />
			Estimated Price: 		<input type="text" name="estP" /><br />
			Actual Price: 			<input type="text" name="actP" /><br />
			Amount Paid: 			<input type="text" name="amtP" /><br />
			Expected Start Date:	<input type="text" name="expSDate" /><br />
			Actual Start Date: 		<input type="text" name="actSDate" /><br />
			Expected Finish Date: 	<input type="text" name="expFD" /><br />
			Actual Finish Date: 	<input type="text" name="actFDate" /><br />
			Street Address: 		<input type="text" name="street" /><br />
			City:					<input type="text" name="city" /><br /> 
			Province:				<input type="text" name="prov" /><br />
			<input type="submit" value="Submit"/>
		</form>
		<% if(request.getAttribute("failed") == Boolean.TRUE) { 
			String value = (String)request.getAttribute("message");%>
			<b><%=value%></b>
		<%}%>
	</div>
</body>
</html>